package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string `gorm:"type:char(11)"`
	Password string `gorm:"type:char(32)"`
}

type Goods struct {
	gorm.Model
	UserId int64  `gorm:"type:int(11)"`
	Name   string `gorm:"type:varchar(30)"`
	Num    int64  `gorm:"type:int(11)"`
	Image  string `gorm:"type:varchar(500)"`
}
